package com.jz.community.moduleshopping.confirmOrder.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshopping.confirmOrder.bean.BaseOrderCouponInfo;
import com.jz.community.moduleshopping.confirmOrder.bean.OrderCouponInfo;
import com.jz.community.moduleshopping.confirmOrder.bean.UpdateOrderCouponInfo;
import com.jz.community.moduleshopping.confirmOrder.bean.OrderPostageInfo;
import com.jz.community.moduleshopping.confirmOrder.bean.SubmitOrderBean;
import com.jz.community.moduleshopping.confirmOrder.bean.SubmitOrderResultBean;
import com.jz.community.moduleshopping.confirmOrder.bean.UpdateCouponInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/4/4 11:40
 */
public interface NewConfirmOrderView extends MVPContract {

    interface View extends MVPContract.View {
        void showSubmitOrderResult(SubmitOrderResultBean resultBean, android.view.View v);

        void showOrderPostageResult(OrderPostageInfo resultBean);

        void showOrderPlatformAndShopCouponInfo(OrderCouponInfo orderCouponInfo);

        void showOrderPlatformCouponInfo(List<BaseOrderCouponInfo> orderCouponInfo);

    }

    interface Presenter extends MVPContract.Presenter<NewConfirmOrderView.View> {
        void submitOrder(SubmitOrderBean orderSubmit, android.view.View v);

        void orderPostage(SubmitOrderBean orderSubmit);

        void getOrderPlatformAndShopCouponInfo(List<UpdateOrderCouponInfo> shopVoList);

        void getOrderPlatformCouponInfo(List<UpdateOrderCouponInfo> shopVoList);

        void getUpdateOrderCouponInfo(UpdateCouponInfo updateCouponInfo);
    }
}
